<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>资源目录管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" th:href="@{/plugins/layui2/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/plugins/layer/theme/default/layer.css}" media="all">
    <link rel="stylesheet" th:href="@{/plugins/font-awesome/css/font-awesome.min.css}" media="all">
    <script th:src="@{/js/jquery.min.js}" charset="utf-8"></script>
</head>
<body>
<div class="layui-container" style="width: 100%;">
    <div class="layui-row">
        <div class="layui-col-md3">
            <div class="layui-card">
             <div class="layui-card-header">资源目录树</div>
                <div class="layui-card-body">
                    <div id="test12"></div>
                </div>
            </div>
        </div>
        <div class="layui-col-md9" style="padding-left: 5px;">
            <div class="layui-card">
                <div class="layui-card-header">资源元数据管理</div>
                <div class="layui-card-body">
                    <form class="layui-form" action="">
                        <div class="layui-form-item">
                            <label class="layui-form-label">资源名称</label>
                            <div class="layui-input-inline">
                                <input id="resource-title" type="text" name="title" value="xxxxx" readonly autocomplete="off" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">资源名称</div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">资源路径</label>
                            <div class="layui-input-inline">
                                <input type="text" id="resource-path" name="path" placeholder="请输入资源路径" autocomplete="off" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">存储资源文档信息路径</div>
                        </div>
                        <div class="layui-form-item" pane="">
                            <label class="layui-form-label">允许上传的文档类型</label>
                            <div class="layui-input-block">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="txt">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="xls">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="csv">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="grd">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="bln">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="dwg">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="lvl">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="shp">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="doc">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="mdb">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="zip">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="pdf">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="mp4">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="avi">
                                <input type="checkbox" name="allowFile" lay-skin="primary" title="mp3">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">排序号</label>
                            <div class="layui-input-inline">
                                <input id="resource-num" type="text" lay-verify="number" value="0" name="sortNum" autocomplete="off" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">资源目录中的显示位置</div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">资源描述</label>
                            <div class="layui-input-block">
                                <textarea id="resource-desc" name="desc" placeholder="资源描述信息" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script th:src="@{/plugins/layer/layer.js}" charset="utf-8"></script>
<script th:src="@{/plugins/layui2/layui.js}" charset="utf-8"></script>
<script th:src="@{/js/tree.js}" charset="utf-8"></script>
</body>
</html>